package com.geeguo.ebuilder.core.security.exception;

import com.geeguo.ebuilder.core.common.exception.FrameworkException;
import org.apache.commons.lang3.StringUtils;

/**
 * 未能通过的角色认证异常
 */
public class NotRoleException extends FrameworkException {
	
	public NotRoleException(String role) {
        super(role);
    }

    public NotRoleException(String[] roles) {
        super(StringUtils.join(roles, ","));
    }
}